package com.baizhi.service.impl;

import com.baizhi.dao.CmfzAudioDao;
import com.baizhi.entity.CmfzAudio;
import com.baizhi.service.CmfzAudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: renpu
 * @Date: 2019/3/6 20:44
 * @Description:
 */
@Service
@Transactional
public class CmfzAudioServiceImpl implements CmfzAudioService {
    @Autowired
    private CmfzAudioDao audioDao;


    @Override
    public List<CmfzAudio> selectAudio() {
        return audioDao.selectAudio();
    }

    @Override
    public CmfzAudio selectBulum(int id) {
        return audioDao.selectBulum(id);
    }

    @Override
    public int selectCount(int id) {
        return audioDao.selectCount(id);
    }

    @Override
    public List<CmfzAudio> selectAudioTwo(int id) {
        return audioDao.selectAudioTwo(id);
    }
}
